package com.woniuxy.woniuhis.entity;

import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Examination {
    private String examinationId;

    private Double examinationTotal;

    private Date examinationDate;

    private Boolean payStatus;

    private String depId;
    private Dep dep;

    //来源于门诊部或者住院部
    private String sourceId;
    //门诊部
    private Outpatient outpatient;
    //住院部
    private Inpatient inpatient;
    
    //这个检查单包含的检查条目
    List<ExaminationItem> examinationItems;


	public Examination(String examinationId, Double examinationTotal, Date examinationDate, Boolean payStatus,
			String depId, String sourceId) {
		super();
		this.examinationId = examinationId;
		this.examinationTotal = examinationTotal;
		this.examinationDate = examinationDate;
		this.payStatus = payStatus;
		this.depId = depId;
		this.sourceId = sourceId;
	}

    
   
}